package gamagora.game.resources
{
	import org.flixel.FlxG;
	
	public class OSSounds
	{
		/*** Imports des sons ***/
		
		public static const DEFAULT_VOLUME:Number = 1.0;
		
		/*** Music ***/
		
		[Embed(source="embed/sounds/music.mp3")]
		public static const MUSIC:Class;
		
		/*** Player ***/
		
		[Embed(source="embed/sounds/player_pas_pierre.mp3")]
		public static const PLAYER_STONE_STEP:Class;
		
		[Embed(source="embed/sounds/player_pas_terreux.mp3")]
		public static const PLAYER_GROUND_STEP:Class;
		
		[Embed(source="embed/sounds/player_pas_eau.mp3")]
		public static const PLAYER_WATER_STEP:Class;
		
		[Embed(source="embed/sounds/player_pas_bois.mp3")]
		public static const PLAYER_WOOD_STEP:Class;
		
		/*** Woman ***/
		
		[Embed(source="embed/sounds/femme_pas.mp3")]
		public static const WOMAN_STEP:Class;
		
		[Embed(source="embed/sounds/femme_voix.mp3")]
		public static const WOMAN_CRY:Class;
		
		/*** Monkeys ***/
		
		[Embed(source="embed/sounds/singe_cri1.mp3")]
		public static const MONKEY_CRY_1:Class;
		
		[Embed(source="embed/sounds/singe_cri2.mp3")]
		public static const MONKEY_CRY_2:Class;
		
		[Embed(source="embed/sounds/singe_cri3.mp3")]
		public static const MONKEY_CRY_3:Class;
		
		/*** Stall ***/
		
		[Embed(source="embed/sounds/caisse_fruits.mp3")]
		public static const FRUITS:Class;
		
		[Embed(source="embed/sounds/caisse_bois_craque.mp3")]
		public static const WOOD_CRACK_1:Class;
		
		[Embed(source="embed/sounds/caisse_bois_craque2.mp3")]
		public static const WOOD_CRACK_2:Class;
		
		/*** Water Fall ***/
		
		[Embed(source="embed/sounds/chute_d_eau.mp3")]
		public static const WATERFALL:Class;		
		
		/*** Bird ***/
		
		[Embed(source="embed/sounds/oiseau_envol.mp3")]
		public static const BIRD_FLIGHT:Class;
		
		/*** Wind ***/
		
		[Embed(source="embed/sounds/vent_bourrasque.mp3")]
		public static const WIND:Class;
		
		/*** House ***/
		
		[Embed(source="embed/sounds/maison_debris_cris.mp3")]
		public static const HOUSE:Class;
		
		/*** Water Bridge ***/
		
		[Embed(source="embed/sounds/eau_ambiant.mp3")]
		public static const WATER:Class;
		
		/************************/
		
		
		/*** Fonctions ***/
		
		/*** Music ***/
		
		public static function playMusic(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.playMusic(MUSIC, volume);
		}
		
		
		/*** Player ***/
		
		public static function playPlayerStoneStep(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(PLAYER_STONE_STEP, volume);
		}
		
		public static function playPlayerGroundStep(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(PLAYER_GROUND_STEP, volume);
		}
		
		public static function playPlayerWaterStep(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(PLAYER_WATER_STEP, volume);
		}
		
		public static function playPlayerWoodStep(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(PLAYER_WOOD_STEP, volume);
		}
		
		
		/*** Woman ***/
		
		public static function playWomanStep(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(WOMAN_STEP, volume);
		}
		
		public static function playWomanCry(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(WOMAN_CRY, volume);
		}
		
		
		/*** Monkey ***/
		
		public static function playMonkeyCry1(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(MONKEY_CRY_1, volume);
		}
		
		public static function playMonkeyCry2(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(MONKEY_CRY_2, volume);
		}
		
		public static function playMonkeyCry3(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(MONKEY_CRY_3, volume);
		}
		
		
		/*** Stall ***/
		
		public static function playFruits(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(FRUITS, volume);
		}
		
		public static function playWoodCrack1(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(WOOD_CRACK_1, volume);
		}
		
		public static function playWoodCrack2(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(WOOD_CRACK_2, volume);
		}
		
		
		/*** Water Fall ***/
		
		public static function playWaterFall(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(WATERFALL, volume);
		}
		
		/*** Bird ***/
		
		public static function playFlightBird(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(BIRD_FLIGHT, volume);
		}
		
		/*** Wind ***/
		
		public static function playWind(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(WIND, volume);
		}
		
		/*** House ***/
		
		public static function playHouse(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(HOUSE, volume);
		}
		
		/*** Water Bridge ***/
		
		public static function playWater(volume:Number = DEFAULT_VOLUME):void
		{
			FlxG.play(WATER, volume);
		}
		
		/*****************/
		
	}
}